<?php


class Data_Model_LopHoc extends Data_Model_DomainObjectAbstract {
	
	private $_maloaidt = null;
	private $_tenlop = null;
	private $_sotiet = null;
	private $_thoigian = null;
	private $_hocphi = null;
	private $_trangthai = null;
	private $_danhsachthi = array();
	private $_chitietlophoc = array();
	private $_loaidaotao = array();
	private $_diemthi = array();
	private $_kythi = array();
	
	
	/**
	 * @return the $_maloaidt
	 */
	public function getMaloaidt() {
		return $this->_maloaidt;
	}

	/**
	 * @param NULL $_maloaidt
	 */
	public function setMaloaidt($maloaidt) {
		$this->_maloaidt = $maloaidt;
	}
	

	/**
	 * @return the $_mahinhthuc
	 */
	public function getMahinhthuc() {
		return $this->_mahinhthuc;
	}

	/**
	 * @param NULL $_mahinhthuc
	 */
	public function setMahinhthuc($mahinhthuc) {
		$this->_mahinhthuc = $mahinhthuc;
	}

	/**
	 * @return the $_tenlop
	 */
	public function getTenlop() {
		return $this->_tenlop;
	}

	/**
	 * @param NULL $_tenlop
	 */
	public function setTenlop($tenlop) {
		$this->_tenlop = $tenlop;
	}

	/**
	 * @return the $_sotiet
	 */
	public function getSotiet() {
		return $this->_sotiet;
	}

	/**
	 * @param NULL $_sotiet
	 */
	public function setSotiet($sotiet) {
		$this->_sotiet = $sotiet;
	}

	/**
	 * @return the $_thoigian
	 */
	public function getThoigian() {
		return $this->_thoigian;
	}

	/**
	 * @param NULL $_thoigian
	 */
	public function setThoigian($thoigian) {
		$this->_thoigian = $thoigian;
	}

	/**
	 * @return the $_hocphi
	 */
	public function getHocphi() {
		return $this->_hocphi;
	}

	/**
	 * @param NULL $_hocphi
	 */
	public function setHocphi($hocphi) {
		$this->_hocphi = $hocphi;
	}

	/**
	 * @return the $_trangthai
	 */
	public function getTrangthai() {
		return $this->_trangthai;
	}
	
	public function getTrangthailophoc()
	{
		if($this->_trangthai == 1)
		{
			$this->_trangthai = 'Mở';
		}
		else
		{
		$this->_trangthai = 'Khóa';
		}
		return $this->_trangthai;
	}

	/**
	 * @param NULL $_trangthai
	 */
	public function setTrangthai($trangthai) {
		$this->_trangthai = $trangthai;
	}
	/**
	 * @return the $_danhsachthi
	 */
	public function getDanhsachthi() {
		return $this->_danhsachthi;
	}

	/**
	 * @param multitype: $_danhsachthi
	 */
	public function setDanhsachthi($danhsachthi) {
		$this->_danhsachthi = $danhsachthi;
	}

	/**
	 * @return the $_chitietlophoc
	 */
	public function getChitietlophoc() {
		return $this->_chitietlophoc;
	}

	/**
	 * @param multitype: $_chitietlophoc
	 */
	public function setChitietlophoc($chitietlophoc) {
		$this->_chitietlophoc = $chitietlophoc;
	}
	/**
	 * @return the $_loaidaotao
	 */
	public function getLoaidaotao() {
		return $this->_loaidaotao;
	}

	/**
	 * @param multitype: $_loaidaotao
	 */
	public function setLoaidaotao($loaidaotao) {
		$this->_loaidaotao = $loaidaotao;
	}

	/**
	 * @return the $_diemthi
	 */
	public function getDiemthi() {
		return $this->_diemthi;
	}

	/**
	 * @param multitype: $_diemthi
	 */
	public function setDiemthi($diemthi) {
		$this->_diemthi = $diemthi;
	}
	/**
	 * @return the $_kythi
	 */
	public function getKythi() {
		return $this->_kythi;
	}

	/**
	 * @param multitype: $_kythi
	 */
	public function setKythi($kythi) {
		$this->_kythi = $kythi;
	}



}
